Kalman decomposition
#incomplete